import request from '@/utils/request'

export function getList(page, size, type, param, starttime, endtime) {
  return request({
    url: '/bill/list',
    method: 'get',
    params: {page, size, type, param, starttime, endtime}
  })
}

export function qrById(id) {
  return request({
    url: '/order/findById',
    method: 'get',
    params: {id}
  })
}

export function qrList(page, size, qid, type, mname, uname, starttiem, endtime) {
  return request({
    url: '/qrlog/list',
    method: 'get',
    params: {page, size, qid, type, mname, uname, starttiem, endtime}
  })
}
